package com.windy.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("`order`")
public class Order implements Serializable {

    private static final long serialVersionUID = 2L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("proId")
    private Long proId;
    @TableField("proName")
    private String proName;
    @TableField("proNum")
    private Integer proNum;
    @TableField("unitAmount")
    private Double unitAmount;
    @TableField("amount")
    private Double amount;
    @TableField("state")
    private String state;
}
